package com.linfeng.business.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Spring Boot Starter
 *
 * @author LinFeng
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.linfeng.business.admin.mapper"})
@ComponentScan(basePackages = {"com.linfeng.business.admin",
        "com.alibaba.cola", "com.linfeng.component"})
@EnableFeignClients(basePackages = "com.linfeng.business.admin.aggregate")
public class BusinessAdminApplication {

    public static void main(String[] args) {

        SpringApplication.run(BusinessAdminApplication.class, args);
    }
}
